package com.ymttest.common.entitie;

import java.lang.reflect.Field;
import java.math.BigDecimal;

/**
 * 商品退款信息
 * @author songyefeng
 *
 */
public class RefundBillProduct {
	/**
	 * 商品数量
	 */
	private int Amount;

	/**
	 * 平摊调整金额
	 */
	private BigDecimal Discount;
	/**
	 * 平摊运费
	 */
	private BigDecimal Freight;
	/**
	 * 订单商品号
	 */
	private String OrderInfoId;
	/**
	 * 商品成交价
	 */
	private BigDecimal ProductPrice;
	/**
	 * 平摊商家优惠券金额
	 */
	private BigDecimal SellerCouponAmount;
	/**
	 * 平摊码头平台优惠券金额
	 */
	private BigDecimal YmtCouponAmount;

	public BigDecimal getDiscount() {
		return Discount;
	}

	public void setDiscount(BigDecimal discount) {
		Discount = discount;
	}

	public BigDecimal getFreight() {
		return Freight;
	}

	public void setFreight(BigDecimal freight) {
		Freight = freight;
	}

	public String getOrderInfoId() {
		return OrderInfoId;
	}

	public void setOrderInfoId(String orderInfoId) {
		OrderInfoId = orderInfoId;
	}

	public BigDecimal getProductPrice() {
		return ProductPrice;
	}

	public void setProductPrice(BigDecimal productPrice) {
		ProductPrice = productPrice;
	}

	public BigDecimal getSellerCouponAmount() {
		return SellerCouponAmount;
	}

	public void setSellerCouponAmount(BigDecimal sellerCouponAmount) {
		SellerCouponAmount = sellerCouponAmount;
	}

	public BigDecimal getYmtCouponAmount() {
		return YmtCouponAmount;
	}

	public void setYmtCouponAmount(BigDecimal ymtCouponAmount) {
		YmtCouponAmount = ymtCouponAmount;
	}

	public int getAmount() {
		return Amount;
	}

	public void setAmount(int amount) {
		Amount = amount;
	}
	
	public static void main(String[] args) {
		Class c = RefundBillProduct.class;
		for (Field f : c.getDeclaredFields()) {
			String s = f.getName();
			System.out.println("DataUtil.verify(expect.get" + s
					+ "(), actual.get" + s + "(),\"验证第\"+i+\"条RefundBillProduct的" + s + "\");");
		}
	}
}
